To run Windows Script Host samples

  1. Click Start, point to Programs, point to Accessories, and then click Command Prompt.
  2. Type the following at the command prompt:

    cscript samples folder\script name

    Where:

    samples folder is the path to the folder into which you downloaded the samples.

    script name is the name of the sample script you want to run, complete with the file extension (for example, .js or .vbs).

    For example, if you saved the samples to C:\Samples, and you wanted to run the Network.vbs sample, you would type:

    cscript c:\sample\network.vbs

Notes

Related Topics